package cn.ryh.designpatterndemo.factorypattern.manyFactory;

import cn.ryh.designpatterndemo.factorypattern.entity.IHuman;
import cn.ryh.designpatterndemo.factorypattern.entity.YellowHuman;

/**
 * @ClassName YellowHumanFactory
 * @Description 黄种人工厂
 * @Author RaoYH
 * @Date 2019/4/22
 */
public class YellowHumanFactory extends AbstractHumanFactory {

    @Override
    public IHuman createHuman() {
        return new YellowHuman();
    }
}
